
package com.yundingai.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yundingai.domain.entity.RelUserPlan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author liyuxiang
 * @description 针对表【rel_user_plan】的数据库操作Mapper
 * @createDate 2025-07-16 12:50:48
 * @Entity com.yundingai.domain.entity.RelUserPlan
 */
@Mapper
public interface RelUserPlanMapper extends BaseMapper<RelUserPlan> {
    //新增计划的同时在用户计划关系表新增
    void insertRelUserPlan( @Param("planId") Integer planId,@Param("userId") Integer userId);
    //删除计划的同时在用户计划关系表删除
    void deleteRelUserPlan(@Param("planId") Integer planId);

}
